﻿@model IEnumerable<PessModel.SysLog>

@{
    ViewBag.Title = "System Logs";
}

<h2>System Logs</h2>

<table id="fileList" class="oddTable">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.UserID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Controller)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Action)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LogTime)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ClientAddress)
        </th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.UserID)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Controller)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Action)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.LogTime)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.ClientAddress)
            </td>
        </tr>
    }

</table>
